Select
  ArtistPerson.Name,
  Album.Released,
  Album.Title,
  Track.DiscNo,
  Media.Title As Schijf,
  AlbumCustom.Custom13,
  (Select
    Max(Track.Index)
  From
    Track
  Where
    Track.AlbumID = Album.AlbumID And
    Album.AlbumID = Media.AlbumID) As Aantal,
  Album.LastModified
From
  (((((ArtistPerson Inner Join
  ArtistAlbumLink On ArtistPerson.ArtistPersonID =
    ArtistAlbumLink.ArtistPersonID) Inner Join
  Album On ArtistAlbumLink.AlbumID = Album.AlbumID) Inner Join
  Track On Album.AlbumID = Track.AlbumID) Inner Join
  Media On Track.AlbumID = Media.AlbumID And Track.DiscNo = Media.DiscNo)
  Inner Join
  AlbumCustom On ArtistAlbumLink.AlbumID = AlbumCustom.AlbumID)
Where
  ArtistPerson.Name <> '(Buddha Bar)' And
  Media.Title Like '%(Disc%' And
  Album.DiscCount > 1 And
  Track.Index = 1 And
  AlbumCustom.Custom14 <> True
Order By
  ArtistPerson.Name,
  Album.Released,
  Album.Title,
  Track.DiscNo,
  Track.Side,
  Track.Index
